Total Complexity | 54 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 496 |
Lines of code | 320 |
Logical lines of code | 145 |
Comment lines | 129 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
enqueue_data() | 29 | 18 | 144 | |
render() | 43 | 9 | 53 | |
hydrate_customer_payment_methods() | 54 | 4 | 21 | |
deep_sort_with_accents() | 62 | 4 | 11 | |
is_block_editor() | 68 | 4 | 7 | |
include_token_id_with_payment_methods() | 62 | 4 | 10 | |
get_checkout_block_types() | 53 | 1 | 26 | |
get_block_type_editor_script() | 66 | 2 | 8 | |
get_block_type_script() | 66 | 2 | 8 | |
is_checkout_endpoint() | 79 | 2 | 3 | |
enqueue_assets() | 74 | 1 | 5 | |
get_enabled_payment_gateways() | 67 | 1 | 9 | |
hydrate_from_api() | 66 | 1 | 8 | |
register_block_type_assets() | 68 | 1 | 7 |